package fr.sedoo.commons.metadata.utils.domain;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

import net.jcip.annotations.ThreadSafe;

import org.geotoolkit.metadata.iso.MetadataEntity;

import fr.sedoo.commons.metadata.utils.xml.RBVNamespaces;

@ThreadSafe
@XmlRootElement(name = "RBVMetadataExtent", namespace=RBVNamespaces.RBV_NAMESPACE)
@XmlType(propOrder={"localisationExtent", "identificationExtent", "otherInformationExtent"})
public class RBVMetadataExtent extends MetadataEntity
{
	RBVLocalisationExtent localisationExtent = new RBVLocalisationExtent();
	RBVIdentificationExtent identificationExtent = new RBVIdentificationExtent();
	RBVOtherInformationExtent otherInformationExtent = new RBVOtherInformationExtent();
	
	@XmlElement(name="localisationExtent", namespace=RBVNamespaces.RBV_NAMESPACE)
	public RBVLocalisationExtent getLocalisationExtent() {
		return localisationExtent;
	}
	
	public void setLocalisationExtent(RBVLocalisationExtent localisationExtent)
	{
		this.localisationExtent = localisationExtent;
	}
	
	@XmlElement(name="identificationExtent", namespace=RBVNamespaces.RBV_NAMESPACE)
	public RBVIdentificationExtent getIdentificationExtent() {
		return identificationExtent;
	}
	
	public void setIdentificationExtent(RBVIdentificationExtent identificationExtent)
	{
		this.identificationExtent = identificationExtent;
	}
	
	@XmlElement(name="otherInformationExtent", namespace=RBVNamespaces.RBV_NAMESPACE)
	public RBVOtherInformationExtent getOtherInformationExtent() {
		return otherInformationExtent;
	}
	
	public void setIdentificationExtent(RBVOtherInformationExtent otherInformationExtent)
	{
		this.otherInformationExtent = otherInformationExtent;
	}
	
}
